And make the end of st_theme_node_lookup_length() consistent with
st_theme_node_lookup_color() and st_theme_node_lookup_shadow().
Part of https://gitlab.gnome.org/GNOME/gnome-shell/issues/1934
else if (result == VALUE_INHERIT)
inherit = TRUE;
- if (inherit && node->parent_node &&
- st_theme_node_lookup_length (node->parent_node, property_name, inherit, length))
- return TRUE;
- else
- return FALSE;
+ if (inherit && node->parent_node)
+ return st_theme_node_lookup_length (node->parent_node, property_name, inherit, length);
+
+ return FALSE;
}
/**